.class public final LPkUwx/Axwse/IPQgl/VYigH;
.super LPkUwx/Axwse/GTxVB/kxQPW;

# interfaces
.implements LPkUwx/vNocv;


# instance fields
.field public DnTZU:Ljava/net/Socket;

.field private EzoAY:LPkUwx/iAqOC;

.field public JaAKZ:LwFZra/AAVAr;

.field public KzQAe:J

.field public volatile SbBQT:LPkUwx/Axwse/GTxVB/BbJbp;

.field public TcoKF:LwFZra/OeMtE;

.field private eZFJc:LPkUwx/mLEoa;

.field public final hdIjl:Ljava/util/List;

.field private final mQNUN:LPkUwx/quhpk;

.field private mzFnW:Ljava/net/Socket;

.field public navNU:I

.field public oVbiX:I

.field public ubpEd:Z


# direct methods
.method public constructor <init>(LPkUwx/quhpk;)V
    .locals 2

    invoke-direct {p0}, LPkUwx/Axwse/GTxVB/kxQPW;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->hdIjl:Ljava/util/List;

    const-wide v0, 0x7fffffffffffffffL

    iput-wide v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->KzQAe:J

    iput-object p1, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    return-void
.end method

.method private PAKIs(IILPkUwx/Axwse/IPQgl/rIbsy;)V
    .locals 5

    const/4 v2, 0x1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v0}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/OpVZM;->xPJQB()Ljavax/net/ssl/SSLSocketFactory;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-direct {p0, p1, p2, p3}, LPkUwx/Axwse/IPQgl/VYigH;->oySHt(IILPkUwx/Axwse/IPQgl/rIbsy;)V

    :goto_0
    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    sget-object v1, LPkUwx/mLEoa;->USJhW:LPkUwx/mLEoa;

    if-eq v0, v1, :cond_0

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    sget-object v1, LPkUwx/mLEoa;->aygYz:LPkUwx/mLEoa;

    if-ne v0, v1, :cond_2

    :cond_0
    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/net/Socket;->setSoTimeout(I)V

    new-instance v0, LPkUwx/Axwse/GTxVB/lieik;

    invoke-direct {v0, v2}, LPkUwx/Axwse/GTxVB/lieik;-><init>(Z)V

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v2}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v2

    invoke-virtual {v2}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v2

    invoke-virtual {v2}, LPkUwx/WhAas;->eQNNu()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, LPkUwx/Axwse/IPQgl/VYigH;->TcoKF:LwFZra/OeMtE;

    iget-object v4, p0, LPkUwx/Axwse/IPQgl/VYigH;->JaAKZ:LwFZra/AAVAr;

    invoke-virtual {v0, v1, v2, v3, v4}, LPkUwx/Axwse/GTxVB/lieik;->xhCWM(Ljava/net/Socket;Ljava/lang/String;LwFZra/OeMtE;LwFZra/AAVAr;)LPkUwx/Axwse/GTxVB/lieik;

    move-result-object v0

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    invoke-virtual {v0, v1}, LPkUwx/Axwse/GTxVB/lieik;->FlHAV(LPkUwx/mLEoa;)LPkUwx/Axwse/GTxVB/lieik;

    move-result-object v0

    invoke-virtual {v0, p0}, LPkUwx/Axwse/GTxVB/lieik;->eMXji(LPkUwx/Axwse/GTxVB/kxQPW;)LPkUwx/Axwse/GTxVB/lieik;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/Axwse/GTxVB/lieik;->CYAJL()LPkUwx/Axwse/GTxVB/BbJbp;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/Axwse/GTxVB/BbJbp;->nJtMn()V

    invoke-virtual {v0}, LPkUwx/Axwse/GTxVB/BbJbp;->rBVoZ()I

    move-result v1

    iput v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->navNU:I

    iput-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->SbBQT:LPkUwx/Axwse/GTxVB/BbJbp;

    :goto_1
    return-void

    :cond_1
    sget-object v0, LPkUwx/mLEoa;->zUZNS:LPkUwx/mLEoa;

    iput-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    iput-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    goto :goto_0

    :cond_2
    iput v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->navNU:I

    goto :goto_1
.end method

.method private bEhIv()LPkUwx/tQIEa;
    .locals 4

    new-instance v0, LPkUwx/hNnMN;

    invoke-direct {v0}, LPkUwx/hNnMN;-><init>()V

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v1}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v1

    invoke-virtual {v1}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v1

    invoke-virtual {v0, v1}, LPkUwx/hNnMN;->EBTjh(LPkUwx/WhAas;)LPkUwx/hNnMN;

    move-result-object v0

    const-string v1, "Host"

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v2}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v2

    invoke-virtual {v2}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v2

    const/4 v3, 0x1

    invoke-static {v2, v3}, LPkUwx/Axwse/NmOez;->INDrc(LPkUwx/WhAas;Z)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, LPkUwx/hNnMN;->GrKzz(Ljava/lang/String;Ljava/lang/String;)LPkUwx/hNnMN;

    move-result-object v0

    const-string v1, "Proxy-Connection"

    const-string v2, "Keep-Alive"

    invoke-virtual {v0, v1, v2}, LPkUwx/hNnMN;->GrKzz(Ljava/lang/String;Ljava/lang/String;)LPkUwx/hNnMN;

    move-result-object v0

    const-string v1, "User-Agent"

    invoke-static {}, LPkUwx/Axwse/eDHQw;->SYgxe()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, LPkUwx/hNnMN;->GrKzz(Ljava/lang/String;Ljava/lang/String;)LPkUwx/hNnMN;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/hNnMN;->HWrBW()LPkUwx/tQIEa;

    move-result-object v0

    return-object v0
.end method

.method private bPvks(IIILPkUwx/Axwse/IPQgl/rIbsy;)V
    .locals 6

    const/4 v5, 0x0

    invoke-direct {p0}, LPkUwx/Axwse/IPQgl/VYigH;->bEhIv()LPkUwx/tQIEa;

    move-result-object v1

    invoke-virtual {v1}, LPkUwx/tQIEa;->EBgsH()LPkUwx/WhAas;

    move-result-object v2

    const/4 v0, 0x0

    const/16 v3, 0x15

    :goto_0
    add-int/lit8 v0, v0, 0x1

    if-le v0, v3, :cond_0

    new-instance v0, Ljava/net/ProtocolException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Too many tunnel connections attempted: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/net/ProtocolException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    invoke-direct {p0, p1, p2}, LPkUwx/Axwse/IPQgl/VYigH;->qMpBp(II)V

    invoke-direct {p0, p2, p3, v1, v2}, LPkUwx/Axwse/IPQgl/VYigH;->zeEQY(IILPkUwx/tQIEa;LPkUwx/WhAas;)LPkUwx/tQIEa;

    move-result-object v1

    if-nez v1, :cond_1

    invoke-direct {p0, p2, p3, p4}, LPkUwx/Axwse/IPQgl/VYigH;->PAKIs(IILPkUwx/Axwse/IPQgl/rIbsy;)V

    return-void

    :cond_1
    iget-object v4, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    invoke-static {v4}, LPkUwx/Axwse/NmOez;->QhNyU(Ljava/net/Socket;)V

    iput-object v5, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    iput-object v5, p0, LPkUwx/Axwse/IPQgl/VYigH;->JaAKZ:LwFZra/AAVAr;

    iput-object v5, p0, LPkUwx/Axwse/IPQgl/VYigH;->TcoKF:LwFZra/OeMtE;

    goto :goto_0
.end method

.method private oySHt(IILPkUwx/Axwse/IPQgl/rIbsy;)V
    .locals 9

    const/4 v1, 0x0

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v0}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v2

    invoke-virtual {v2}, LPkUwx/OpVZM;->xPJQB()Ljavax/net/ssl/SSLSocketFactory;

    move-result-object v0

    :try_start_0
    iget-object v3, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    invoke-virtual {v2}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v4

    invoke-virtual {v4}, LPkUwx/WhAas;->eQNNu()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v5

    invoke-virtual {v5}, LPkUwx/WhAas;->bvObf()I

    move-result v5

    const/4 v6, 0x1

    invoke-virtual {v0, v3, v4, v5, v6}, Ljavax/net/ssl/SSLSocketFactory;->createSocket(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;

    move-result-object v0

    check-cast v0, Ljavax/net/ssl/SSLSocket;
    :try_end_0
    .catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_1
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :try_start_1
    invoke-virtual {p3, v0}, LPkUwx/Axwse/IPQgl/rIbsy;->Uqxlz(Ljavax/net/ssl/SSLSocket;)LPkUwx/BBqSf;

    move-result-object v3

    invoke-virtual {v3}, LPkUwx/BBqSf;->gJlWY()Z

    move-result v4

    if-eqz v4, :cond_0

    invoke-static {}, LPkUwx/Axwse/GDwuG/wXQmk;->cWbaf()LPkUwx/Axwse/GDwuG/wXQmk;

    move-result-object v4

    invoke-virtual {v2}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v5

    invoke-virtual {v5}, LPkUwx/WhAas;->eQNNu()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v2}, LPkUwx/OpVZM;->nTfvU()Ljava/util/List;

    move-result-object v6

    invoke-virtual {v4, v0, v5, v6}, LPkUwx/Axwse/GDwuG/wXQmk;->emKwk(Ljavax/net/ssl/SSLSocket;Ljava/lang/String;Ljava/util/List;)V

    :cond_0
    invoke-virtual {v0}, Ljavax/net/ssl/SSLSocket;->startHandshake()V

    invoke-virtual {v0}, Ljavax/net/ssl/SSLSocket;->getSession()Ljavax/net/ssl/SSLSession;

    move-result-object v4

    invoke-static {v4}, LPkUwx/iAqOC;->FswnN(Ljavax/net/ssl/SSLSession;)LPkUwx/iAqOC;

    move-result-object v4

    invoke-virtual {v2}, LPkUwx/OpVZM;->pUKAt()Ljavax/net/ssl/HostnameVerifier;

    move-result-object v5

    invoke-virtual {v2}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v6

    invoke-virtual {v6}, LPkUwx/WhAas;->eQNNu()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0}, Ljavax/net/ssl/SSLSocket;->getSession()Ljavax/net/ssl/SSLSession;

    move-result-object v7

    invoke-interface {v5, v6, v7}, Ljavax/net/ssl/HostnameVerifier;->verify(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z

    move-result v5

    if-nez v5, :cond_2

    invoke-virtual {v4}, LPkUwx/iAqOC;->CbsfO()Ljava/util/List;

    move-result-object v1

    const/4 v3, 0x0

    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/security/cert/X509Certificate;

    new-instance v3, Ljavax/net/ssl/SSLPeerUnverifiedException;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "Hostname "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v2}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v2

    invoke-virtual {v2}, LPkUwx/WhAas;->eQNNu()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v4, " not verified:\n    certificate: "

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {v1}, LPkUwx/QxVqU;->QYXcb(Ljava/security/cert/Certificate;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v4, "\n    DN: "

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v1}, Ljava/security/cert/X509Certificate;->getSubjectDN()Ljava/security/Principal;

    move-result-object v4

    invoke-interface {v4}, Ljava/security/Principal;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v4, "\n    subjectAltNames: "

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {v1}, LPkUwx/Axwse/JWJMV/NMCai;->fjxTT(Ljava/security/cert/X509Certificate;)Ljava/util/List;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v3, v1}, Ljavax/net/ssl/SSLPeerUnverifiedException;-><init>(Ljava/lang/String;)V

    throw v3
    :try_end_1
    .catch Ljava/lang/AssertionError; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    :catch_0
    move-exception v1

    move-object v8, v1

    move-object v1, v0

    move-object v0, v8

    :goto_0
    :try_start_2
    invoke-static {v0}, LPkUwx/Axwse/NmOez;->oqwVI(Ljava/lang/AssertionError;)Z

    move-result v2

    if-eqz v2, :cond_6

    new-instance v2, Ljava/io/IOException;

    invoke-direct {v2, v0}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V

    throw v2
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    :catchall_0
    move-exception v0

    :goto_1
    if-eqz v1, :cond_1

    invoke-static {}, LPkUwx/Axwse/GDwuG/wXQmk;->cWbaf()LPkUwx/Axwse/GDwuG/wXQmk;

    move-result-object v2

    invoke-virtual {v2, v1}, LPkUwx/Axwse/GDwuG/wXQmk;->WvFAA(Ljavax/net/ssl/SSLSocket;)V

    :cond_1
    invoke-static {v1}, LPkUwx/Axwse/NmOez;->QhNyU(Ljava/net/Socket;)V

    throw v0

    :cond_2
    :try_start_3
    invoke-virtual {v2}, LPkUwx/OpVZM;->kwgOc()LPkUwx/QxVqU;

    move-result-object v5

    invoke-virtual {v2}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v2

    invoke-virtual {v2}, LPkUwx/WhAas;->eQNNu()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v4}, LPkUwx/iAqOC;->CbsfO()Ljava/util/List;

    move-result-object v6

    invoke-virtual {v5, v2, v6}, LPkUwx/QxVqU;->YQUou(Ljava/lang/String;Ljava/util/List;)V

    invoke-virtual {v3}, LPkUwx/BBqSf;->gJlWY()Z

    move-result v2

    if-eqz v2, :cond_3

    invoke-static {}, LPkUwx/Axwse/GDwuG/wXQmk;->cWbaf()LPkUwx/Axwse/GDwuG/wXQmk;

    move-result-object v1

    invoke-virtual {v1, v0}, LPkUwx/Axwse/GDwuG/wXQmk;->NDsAM(Ljavax/net/ssl/SSLSocket;)Ljava/lang/String;

    move-result-object v1

    :cond_3
    iput-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-static {v2}, LwFZra/LLCTB;->cxUxg(Ljava/net/Socket;)LwFZra/vpTWk;

    move-result-object v2

    invoke-static {v2}, LwFZra/LLCTB;->xVbFZ(LwFZra/vpTWk;)LwFZra/OeMtE;

    move-result-object v2

    iput-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->TcoKF:LwFZra/OeMtE;

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-static {v2}, LwFZra/LLCTB;->LbbHQ(Ljava/net/Socket;)LwFZra/NYfbw;

    move-result-object v2

    invoke-static {v2}, LwFZra/LLCTB;->SQKOi(LwFZra/NYfbw;)LwFZra/AAVAr;

    move-result-object v2

    iput-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->JaAKZ:LwFZra/AAVAr;

    iput-object v4, p0, LPkUwx/Axwse/IPQgl/VYigH;->EzoAY:LPkUwx/iAqOC;

    if-eqz v1, :cond_5

    invoke-static {v1}, LPkUwx/mLEoa;->MhiAG(Ljava/lang/String;)LPkUwx/mLEoa;

    move-result-object v1

    :goto_2
    iput-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;
    :try_end_3
    .catch Ljava/lang/AssertionError; {:try_start_3 .. :try_end_3} :catch_0
    .catchall {:try_start_3 .. :try_end_3} :catchall_1

    if-eqz v0, :cond_4

    invoke-static {}, LPkUwx/Axwse/GDwuG/wXQmk;->cWbaf()LPkUwx/Axwse/GDwuG/wXQmk;

    move-result-object v1

    invoke-virtual {v1, v0}, LPkUwx/Axwse/GDwuG/wXQmk;->WvFAA(Ljavax/net/ssl/SSLSocket;)V

    :cond_4
    return-void

    :cond_5
    :try_start_4
    sget-object v1, LPkUwx/mLEoa;->zUZNS:LPkUwx/mLEoa;
    :try_end_4
    .catch Ljava/lang/AssertionError; {:try_start_4 .. :try_end_4} :catch_0
    .catchall {:try_start_4 .. :try_end_4} :catchall_1

    goto :goto_2

    :cond_6
    :try_start_5
    throw v0
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    :catchall_1
    move-exception v1

    move-object v8, v1

    move-object v1, v0

    move-object v0, v8

    goto :goto_1

    :catch_1
    move-exception v0

    goto :goto_0
.end method

.method private qMpBp(II)V
    .locals 4

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v0}, LPkUwx/quhpk;->WHjlz()Ljava/net/Proxy;

    move-result-object v1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v0}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v0

    invoke-virtual {v1}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;

    move-result-object v2

    sget-object v3, Ljava/net/Proxy$Type;->DIRECT:Ljava/net/Proxy$Type;

    if-eq v2, v3, :cond_0

    invoke-virtual {v1}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;

    move-result-object v2

    sget-object v3, Ljava/net/Proxy$Type;->HTTP:Ljava/net/Proxy$Type;

    if-ne v2, v3, :cond_1

    :cond_0
    invoke-virtual {v0}, LPkUwx/OpVZM;->mrzAJ()Ljavax/net/SocketFactory;

    move-result-object v0

    invoke-virtual {v0}, Ljavax/net/SocketFactory;->createSocket()Ljava/net/Socket;

    move-result-object v0

    :goto_0
    iput-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    invoke-virtual {v0, p2}, Ljava/net/Socket;->setSoTimeout(I)V

    :try_start_0
    invoke-static {}, LPkUwx/Axwse/GDwuG/wXQmk;->cWbaf()LPkUwx/Axwse/GDwuG/wXQmk;

    move-result-object v0

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v2}, LPkUwx/quhpk;->CdFIV()Ljava/net/InetSocketAddress;

    move-result-object v2

    invoke-virtual {v0, v1, v2, p1}, LPkUwx/Axwse/GDwuG/wXQmk;->cGBqI(Ljava/net/Socket;Ljava/net/InetSocketAddress;I)V
    :try_end_0
    .catch Ljava/net/ConnectException; {:try_start_0 .. :try_end_0} :catch_0

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    invoke-static {v0}, LwFZra/LLCTB;->cxUxg(Ljava/net/Socket;)LwFZra/vpTWk;

    move-result-object v0

    invoke-static {v0}, LwFZra/LLCTB;->xVbFZ(LwFZra/vpTWk;)LwFZra/OeMtE;

    move-result-object v0

    iput-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->TcoKF:LwFZra/OeMtE;

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    invoke-static {v0}, LwFZra/LLCTB;->LbbHQ(Ljava/net/Socket;)LwFZra/NYfbw;

    move-result-object v0

    invoke-static {v0}, LwFZra/LLCTB;->SQKOi(LwFZra/NYfbw;)LwFZra/AAVAr;

    move-result-object v0

    iput-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->JaAKZ:LwFZra/AAVAr;

    return-void

    :cond_1
    new-instance v0, Ljava/net/Socket;

    invoke-direct {v0, v1}, Ljava/net/Socket;-><init>(Ljava/net/Proxy;)V

    goto :goto_0

    :catch_0
    move-exception v0

    new-instance v0, Ljava/net/ConnectException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Failed to connect to "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v2}, LPkUwx/quhpk;->CdFIV()Ljava/net/InetSocketAddress;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/net/ConnectException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method private tpycF(IIILPkUwx/Axwse/IPQgl/rIbsy;)V
    .locals 0

    invoke-direct {p0, p1, p2}, LPkUwx/Axwse/IPQgl/VYigH;->qMpBp(II)V

    invoke-direct {p0, p2, p3, p4}, LPkUwx/Axwse/IPQgl/VYigH;->PAKIs(IILPkUwx/Axwse/IPQgl/rIbsy;)V

    return-void
.end method

.method private zeEQY(IILPkUwx/tQIEa;LPkUwx/WhAas;)LPkUwx/tQIEa;
    .locals 8

    const/4 v2, 0x0

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "CONNECT "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const/4 v1, 0x1

    invoke-static {p4, v1}, LPkUwx/Axwse/NmOez;->INDrc(LPkUwx/WhAas;Z)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " HTTP/1.1"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    :cond_0
    new-instance v4, LPkUwx/Axwse/EwidO/jGscw;

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->TcoKF:LwFZra/OeMtE;

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->JaAKZ:LwFZra/AAVAr;

    invoke-direct {v4, v2, v2, v0, v1}, LPkUwx/Axwse/EwidO/jGscw;-><init>(LPkUwx/OuIib;LPkUwx/Axwse/IPQgl/UdqxG;LwFZra/OeMtE;LwFZra/AAVAr;)V

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->TcoKF:LwFZra/OeMtE;

    invoke-interface {v0}, LwFZra/OeMtE;->ecoRZ()LwFZra/kEGWw;

    move-result-object v0

    int-to-long v6, p1

    sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-virtual {v0, v6, v7, v1}, LwFZra/kEGWw;->xGhFB(JLjava/util/concurrent/TimeUnit;)LwFZra/kEGWw;

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->JaAKZ:LwFZra/AAVAr;

    invoke-interface {v0}, LwFZra/AAVAr;->ecoRZ()LwFZra/kEGWw;

    move-result-object v0

    int-to-long v6, p2

    sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-virtual {v0, v6, v7, v1}, LwFZra/kEGWw;->xGhFB(JLjava/util/concurrent/TimeUnit;)LwFZra/kEGWw;

    invoke-virtual {p3}, LPkUwx/tQIEa;->mTlHX()LPkUwx/CLKCR;

    move-result-object v0

    invoke-virtual {v4, v0, v3}, LPkUwx/Axwse/EwidO/jGscw;->mjnAN(LPkUwx/CLKCR;Ljava/lang/String;)V

    invoke-virtual {v4}, LPkUwx/Axwse/EwidO/jGscw;->MimrM()V

    invoke-virtual {v4}, LPkUwx/Axwse/EwidO/jGscw;->vRErO()LPkUwx/acCnD;

    move-result-object v0

    invoke-virtual {v0, p3}, LPkUwx/acCnD;->jzFKY(LPkUwx/tQIEa;)LPkUwx/acCnD;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/acCnD;->DWSCU()LPkUwx/kHRtU;

    move-result-object v5

    invoke-static {v5}, LPkUwx/Axwse/EwidO/bjmyg;->bOzcz(LPkUwx/kHRtU;)J

    move-result-wide v0

    const-wide/16 v6, -0x1

    cmp-long v6, v0, v6

    if-nez v6, :cond_1

    const-wide/16 v0, 0x0

    :cond_1
    invoke-virtual {v4, v0, v1}, LPkUwx/Axwse/EwidO/jGscw;->IGpts(J)LwFZra/vpTWk;

    move-result-object v0

    const v1, 0x7fffffff

    sget-object v4, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-static {v0, v1, v4}, LPkUwx/Axwse/NmOez;->EEguZ(LwFZra/vpTWk;ILjava/util/concurrent/TimeUnit;)Z

    invoke-interface {v0}, LwFZra/vpTWk;->close()V

    invoke-virtual {v5}, LPkUwx/kHRtU;->Dhuat()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    new-instance v0, Ljava/io/IOException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Unexpected response code for CONNECT: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v5}, LPkUwx/kHRtU;->Dhuat()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0

    :sswitch_0
    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->TcoKF:LwFZra/OeMtE;

    invoke-interface {v0}, LwFZra/OeMtE;->lSdme()LwFZra/UulfZ;

    move-result-object v0

    invoke-virtual {v0}, LwFZra/UulfZ;->opMCC()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->JaAKZ:LwFZra/AAVAr;

    invoke-interface {v0}, LwFZra/AAVAr;->lSdme()LwFZra/UulfZ;

    move-result-object v0

    invoke-virtual {v0}, LwFZra/UulfZ;->opMCC()Z

    move-result v0

    if-nez v0, :cond_3

    :cond_2
    new-instance v0, Ljava/io/IOException;

    const-string v1, "TLS tunnel buffered too many bytes!"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_3
    move-object p3, v2

    :goto_0
    return-object p3

    :sswitch_1
    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v0}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/OpVZM;->nvaBw()LPkUwx/almHI;

    move-result-object v0

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-interface {v0, v1, v5}, LPkUwx/almHI;->mNCUG(LPkUwx/quhpk;LPkUwx/kHRtU;)LPkUwx/tQIEa;

    move-result-object p3

    if-nez p3, :cond_4

    new-instance v0, Ljava/io/IOException;

    const-string v1, "Failed to authenticate with proxy"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_4
    const-string v0, "close"

    const-string v1, "Connection"

    invoke-virtual {v5, v1}, LPkUwx/kHRtU;->CXcBU(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0xc8 -> :sswitch_0
        0x197 -> :sswitch_1
    .end sparse-switch
.end method


# virtual methods
.method public AjaZk(LPkUwx/Axwse/GTxVB/BbJbp;)V
    .locals 1

    invoke-virtual {p1}, LPkUwx/Axwse/GTxVB/BbJbp;->rBVoZ()I

    move-result v0

    iput v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->navNU:I

    return-void
.end method

.method public CCdRM(Z)Z
    .locals 5

    const/4 v1, 0x0

    const/4 v0, 0x1

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-virtual {v2}, Ljava/net/Socket;->isClosed()Z

    move-result v2

    if-nez v2, :cond_0

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-virtual {v2}, Ljava/net/Socket;->isInputShutdown()Z

    move-result v2

    if-nez v2, :cond_0

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-virtual {v2}, Ljava/net/Socket;->isOutputShutdown()Z

    move-result v2

    if-eqz v2, :cond_2

    :cond_0
    move v0, v1

    :cond_1
    :goto_0
    return v0

    :cond_2
    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->SbBQT:LPkUwx/Axwse/GTxVB/BbJbp;

    if-nez v2, :cond_1

    if-eqz p1, :cond_1

    :try_start_0
    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-virtual {v2}, Ljava/net/Socket;->getSoTimeout()I
    :try_end_0
    .catch Ljava/net/SocketTimeoutException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1

    move-result v3

    :try_start_1
    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    const/4 v4, 0x1

    invoke-virtual {v2, v4}, Ljava/net/Socket;->setSoTimeout(I)V

    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->TcoKF:LwFZra/OeMtE;

    invoke-interface {v2}, LwFZra/OeMtE;->opMCC()Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move-result v2

    if-eqz v2, :cond_3

    :try_start_2
    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-virtual {v2, v3}, Ljava/net/Socket;->setSoTimeout(I)V

    move v0, v1

    goto :goto_0

    :cond_3
    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-virtual {v2, v3}, Ljava/net/Socket;->setSoTimeout(I)V

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_0

    :catchall_0
    move-exception v2

    iget-object v4, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-virtual {v4, v3}, Ljava/net/Socket;->setSoTimeout(I)V

    throw v2
    :try_end_2
    .catch Ljava/net/SocketTimeoutException; {:try_start_2 .. :try_end_2} :catch_0
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_1

    :catch_1
    move-exception v0

    move v0, v1

    goto :goto_0
.end method

.method public LHmkA()LPkUwx/mLEoa;
    .locals 1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->SbBQT:LPkUwx/Axwse/GTxVB/BbJbp;

    if-nez v0, :cond_1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    if-eqz v0, :cond_0

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    :goto_0
    return-object v0

    :cond_0
    sget-object v0, LPkUwx/mLEoa;->zUZNS:LPkUwx/mLEoa;

    goto :goto_0

    :cond_1
    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->SbBQT:LPkUwx/Axwse/GTxVB/BbJbp;

    invoke-virtual {v0}, LPkUwx/Axwse/GTxVB/BbJbp;->fLydL()LPkUwx/mLEoa;

    move-result-object v0

    goto :goto_0
.end method

.method public PqksC()Ljava/net/Socket;
    .locals 1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    return-object v0
.end method

.method public YaWwU()LPkUwx/quhpk;
    .locals 1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    return-object v0
.end method

.method public cugJW(IIILjava/util/List;Z)V
    .locals 5

    const/4 v1, 0x0

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    if-eqz v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "already connected"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    new-instance v3, LPkUwx/Axwse/IPQgl/rIbsy;

    invoke-direct {v3, p4}, LPkUwx/Axwse/IPQgl/rIbsy;-><init>(Ljava/util/List;)V

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v0}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/OpVZM;->xPJQB()Ljavax/net/ssl/SSLSocketFactory;

    move-result-object v0

    if-nez v0, :cond_7

    sget-object v0, LPkUwx/BBqSf;->drMqS:LPkUwx/BBqSf;

    invoke-interface {p4, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    new-instance v0, LPkUwx/Axwse/IPQgl/IqWjV;

    new-instance v1, Ljava/net/UnknownServiceException;

    const-string v2, "CLEARTEXT communication not enabled for client"

    invoke-direct {v1, v2}, Ljava/net/UnknownServiceException;-><init>(Ljava/lang/String;)V

    invoke-direct {v0, v1}, LPkUwx/Axwse/IPQgl/IqWjV;-><init>(Ljava/io/IOException;)V

    throw v0

    :cond_1
    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v0}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/WhAas;->eQNNu()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, LPkUwx/Axwse/GDwuG/wXQmk;->cWbaf()LPkUwx/Axwse/GDwuG/wXQmk;

    move-result-object v2

    invoke-virtual {v2, v0}, LPkUwx/Axwse/GDwuG/wXQmk;->BdIWA(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_7

    new-instance v1, LPkUwx/Axwse/IPQgl/IqWjV;

    new-instance v2, Ljava/net/UnknownServiceException;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "CLEARTEXT communication to "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v3, " not permitted by network security policy"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v2, v0}, Ljava/net/UnknownServiceException;-><init>(Ljava/lang/String;)V

    invoke-direct {v1, v2}, LPkUwx/Axwse/IPQgl/IqWjV;-><init>(Ljava/io/IOException;)V

    throw v1

    :cond_2
    :goto_0
    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    if-nez v2, :cond_6

    :try_start_0
    iget-object v2, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v2}, LPkUwx/quhpk;->hSTQT()Z

    move-result v2

    if-eqz v2, :cond_4

    invoke-direct {p0, p1, p2, p3, v3}, LPkUwx/Axwse/IPQgl/VYigH;->bPvks(IIILPkUwx/Axwse/IPQgl/rIbsy;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v2

    iget-object v4, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    invoke-static {v4}, LPkUwx/Axwse/NmOez;->QhNyU(Ljava/net/Socket;)V

    iget-object v4, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    invoke-static {v4}, LPkUwx/Axwse/NmOez;->QhNyU(Ljava/net/Socket;)V

    iput-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->DnTZU:Ljava/net/Socket;

    iput-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    iput-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->TcoKF:LwFZra/OeMtE;

    iput-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->JaAKZ:LwFZra/AAVAr;

    iput-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->EzoAY:LPkUwx/iAqOC;

    iput-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    if-nez v0, :cond_5

    new-instance v0, LPkUwx/Axwse/IPQgl/IqWjV;

    invoke-direct {v0, v2}, LPkUwx/Axwse/IPQgl/IqWjV;-><init>(Ljava/io/IOException;)V

    :goto_1
    if-eqz p5, :cond_3

    invoke-virtual {v3, v2}, LPkUwx/Axwse/IPQgl/rIbsy;->FeuhB(Ljava/io/IOException;)Z

    move-result v2

    if-nez v2, :cond_2

    :cond_3
    throw v0

    :cond_4
    :try_start_1
    invoke-direct {p0, p1, p2, p3, v3}, LPkUwx/Axwse/IPQgl/VYigH;->tpycF(IIILPkUwx/Axwse/IPQgl/rIbsy;)V
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :cond_5
    invoke-virtual {v0, v2}, LPkUwx/Axwse/IPQgl/IqWjV;->qnLBa(Ljava/io/IOException;)V

    goto :goto_1

    :cond_6
    return-void

    :cond_7
    move-object v0, v1

    goto :goto_0
.end method

.method public nEmXL()LPkUwx/iAqOC;
    .locals 1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->EzoAY:LPkUwx/iAqOC;

    return-object v0
.end method

.method public ngVdu(LPkUwx/Axwse/GTxVB/hkAvF;)V
    .locals 1

    sget-object v0, LPkUwx/Axwse/GTxVB/PMVmL;->cDhfF:LPkUwx/Axwse/GTxVB/PMVmL;

    invoke-virtual {p1, v0}, LPkUwx/Axwse/GTxVB/hkAvF;->fBDMc(LPkUwx/Axwse/GTxVB/PMVmL;)V

    return-void
.end method

.method public rvLHE()Z
    .locals 1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->SbBQT:LPkUwx/Axwse/GTxVB/BbJbp;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Connection{"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v1}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v1

    invoke-virtual {v1}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v1

    invoke-virtual {v1}, LPkUwx/WhAas;->eQNNu()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v1}, LPkUwx/quhpk;->cTVGo()LPkUwx/OpVZM;

    move-result-object v1

    invoke-virtual {v1}, LPkUwx/OpVZM;->NbTcs()LPkUwx/WhAas;

    move-result-object v1

    invoke-virtual {v1}, LPkUwx/WhAas;->bvObf()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", proxy="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v1}, LPkUwx/quhpk;->WHjlz()Ljava/net/Proxy;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " hostAddress="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->mQNUN:LPkUwx/quhpk;

    invoke-virtual {v1}, LPkUwx/quhpk;->CdFIV()Ljava/net/InetSocketAddress;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " cipherSuite="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->EzoAY:LPkUwx/iAqOC;

    if-eqz v0, :cond_0

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->EzoAY:LPkUwx/iAqOC;

    invoke-virtual {v0}, LPkUwx/iAqOC;->HMdJn()LPkUwx/hFgeh;

    move-result-object v0

    :goto_0
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " protocol="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, LPkUwx/Axwse/IPQgl/VYigH;->eZFJc:LPkUwx/mLEoa;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const/16 v1, 0x7d

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0

    :cond_0
    const-string v0, "none"

    goto :goto_0
.end method

.method public uzYgT()V
    .locals 1

    iget-object v0, p0, LPkUwx/Axwse/IPQgl/VYigH;->mzFnW:Ljava/net/Socket;

    invoke-static {v0}, LPkUwx/Axwse/NmOez;->QhNyU(Ljava/net/Socket;)V

    return-void
.end method
